home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / ltmf_120.lzh / LTMF_STR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-20  |  1.8 KB  |  45 lines

  1. /* ------------------------------------------------------------------------- */
  2. /* ----- Let 'em Fly! Structure -------------------------------------------- */
  3. /* ------------------------------------------------------------------------- */
  4.  
  5. #define C_LIGHT        0x8000    /* light version    */
  6. #define C_NICELN    0x4000    /* nicelines        */
  7. #define C_JUMP        0x2000    /* jumpin' dials    */
  8. #define C_FLYSWI    0x1000    /* conf. flymode switch    */
  9. #define C_VSCR        0x0800    /* VSCR support        */
  10. #define C_CENTER    0x0400    /* save position    */
  11. #define C_KEYS        0x0200    /* key dials        */
  12. #define C_EDIT        0x0100    /* extended editor    */
  13. #define C_REDRAW    0x0080    /* send redraw        */
  14. #define C_FLYTYP    0x0040    /* solid/hollow flights    */
  15. #define C_FLY        0x0020    /* flying ON/OFF    */
  16. #define C_ALERT        0x0010    /* alert-/error-boxes    */
  17. #define C_MOUSE        0x0008    /* dialogs to mouse    */
  18. #define C_F_GROW    0x0004    /* grow-/shrink-boxes    */
  19. #define C_G_GROW    0x0002    /* dto.            */
  20. #define C_BYPASS    0x0001    /* LTMF ON/OFF        */
  21.  
  22. /* ------------------------------------------------------------------------- */
  23.  
  24. typedef struct
  25. {
  26.     unsigned int    version;
  27.     unsigned int    conf;
  28.     unsigned int    conf2;
  29.     int    reserved;
  30.     void    cdecl    (*di_fly)(OBJECT *tree);    /* fly routine        */
  31.     void    cdecl    (*obj_clsize)(OBJECT *tree, int obj, int *x, int *y, int *w, int *h);
  32.     int    cdecl    (*do_key)(int key, int kshift);    /* User Keys    */
  33.     int    cdecl    (*init_keys)(OBJECT *tree);
  34.     int    cdecl    (*lookup_key)(int key, int kshift);
  35.     int    cdecl    (*di_moveto)(OBJECT *tree, int mx, int my);
  36.     int    cdecl    (*di_center)(OBJECT *tree);
  37.     int    ucol;    /* underscore color    */
  38.     int    aicol;    /* alert icon color    */
  39.     int    aframe;    /* alert frame size    */
  40.     int    flydelay;    /* delay before flying (form_do()-only)    */
  41.     int    cdecl    (*hist_insert)(char *string);
  42.     char    cdecl    (*ins_spcchar)(void);
  43.     void    cdecl    (*init_niceline)(OBJECT *tree);
  44. } LTMFLY;
  45.